﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdvencedProgramming
{
    class Program
    {
        static void Main(string[] args)
        {
            Graion_SVNTest(23, 22);
            Console.WriteLine(Hello());
            int a = 5;
            Console.ReadLine();
            Mouse();
            Mukodj(a);
            bencefv(10, 3);

            szumm(5, 8);
            Write();


            usefullFunction();
        }



        /// <summary>
        /// This is a function aimed to be inserted into the university example
        /// of the SVN version system under my hosting.
        /// 
        /// In my case, it'll aim to ask for two numbers, and
        /// I'll think about something what to do with them...
        /// one simple multiplying IMO shall be enough.
        /// 
        /// tho I kinda consider Git better.
        /// </summary>
        /// <param name="InputParameter1">Integer parameter</param>
        /// <param name="InputParameter2">Double parameter... could be expanded to return the result simply.</param>
        static void Graion_SVNTest(int InputParameter1, double InputParameter2)
        {
            Console.WriteLine("Graion's example SVN subfunction is running...");
            Console.WriteLine("Parameters are:" + InputParameter1 + " and " + InputParameter2);
            InputParameter2 = InputParameter2 * InputParameter1;
            Console.WriteLine("The result was " + InputParameter2);
            Console.WriteLine("Graion's example SVN subfunction succesfully exited.");
        }

        /// <summary>
        /// This function return a string.
        /// </summary>
        /// <returns></returns>
        static string Hello()
        {
            string text = "Hello";
            return text;
        }
        /// <summary>
        /// This function speak mouse.
        /// </summary>
        static void Mouse()
        {
            string a = "cin-cin";
            Console.WriteLine(a);
        }
        public static void Mukodj(int a)
        {
            Console.WriteLine("Az " + a + " négyzete: " + a * a);
            Console.ReadKey();
        }


        static public void bencefv(int a, int b)
        {
            int c;
            c = a - b;
            Console.WriteLine("A két szám különbsége: {0}", c);
        }
        public static void szumm(int a, int b)
        {
            int c;
            c = a + b;
            Console.WriteLine("A két szám összege:{0}", c);
        }
        
        /// <summary>
        /// This function write Hello World!
        /// </summary>
        static void Write()
        {
            Console.WriteLine("Hello World!");
        }
}
    }
}


        /// <summary>
        /// This is an useless function. This function write on the screen this words:"Usefull function".
        /// </summary>
        static void usefullFunction()
        {
            Console.WriteLine("Usefull function");
        }
    }
}
    